package com.realtyManage.springboot.Model.Do;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色实体类
 *
 * @author 杭州素色网络科技有限公司
 * @since 2013-03-21
 */
@Entity
@Table(name = "AUTH_ROLE")
public class Role {
    @Id
    private Integer id;
    @Column(length = 32)
    private String name;
    @Column(length = 64)
    private String note;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
